package com.crois.barrier.common.utils;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 12:13 2021/10/25
 */
public class UtilsAndCommons {
    // ************Door http context ***********\\
    public static final String BARRIER_SERVER_CONTEXT = "/barrier";

    public static final String BARRIER_ADMIN_SERVER_CONTEXT = "/barrier/admin";

    public static final String BARRIER_SERVER_VERSION = "/v1";

    public static  final String DEFAULT_BARRIER_ADMIN_API_ROUTE_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/apiRoute";

    public static  final String DEFAULT_BARRIER_ADMIN_API_ROUTE_GROUP_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/apiRouteGroup";

    public static  final String DEFAULT_BARRIER_ADMIN_PLUGIN_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/plugin";

    public static  final String DEFAULT_BARRIER_ADMIN_CLIENT_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/client";

    public static  final String DEFAULT_BARRIER_ADMIN_IP_BLACK_WHITE_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/blackWhiteIp";

    public static  final String DEFAULT_BARRIER_ADMIN_LOG_SEND_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/logSend";

    public static  final String DEFAULT_BARRIER_ADMIN_STATISTICS_SEND_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/statisticsSend";

    public static final String BARRIER_ADD_CONTEXT="/save";

    public static final String BARRIER_UPDATE_CONTEXT="/update";

    public static final String BARRIER_ENV_CONTEXT="/env";

    public static final String BARRIER_DELETE_CONTEXT="/delete";

    public static final String BARRIER_LIST_CONTEXT="/list";

    public static final String BARRIER_PAGE_CONTEXT="/page";

    public static final String BARRIER_DETAIL_CONTEXT="/detail";

    public static final String BARRIER_HEARTBEAT_CONTEXT = "/heartbeat";

    public static  final String DEFAULT_BARRIER_ADMIN_HEALTH_BEAT_CHECK_CONTEXT =BARRIER_ADMIN_SERVER_CONTEXT+ BARRIER_SERVER_VERSION+"/server";

    public static final String IP_PORT_SPLITER = ":";
}

